package net.zdreamer.geracomium.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class FoodIndentInfos implements Serializable {
	public List<Days> days;

	public class Days implements Serializable {
		public List<ThreeMeals> threemeals;
		public String time, price;

		public class ThreeMeals implements Serializable {
			public List<Foods> foods;
			public String meals;

			public class Foods implements Serializable {
				public String foodname;
				public String foodprice;
				
				public Foods() {
					foodname = "宫保鸡丁";
					foodprice="20元";
				}
			}

			public ThreeMeals() {
				meals = "早餐";
				foods = new ArrayList<Foods>();
				Foods[] fod = new Foods[2];
				for (Foods food : fod) {
					food = new Foods();
					foods.add(food);
				}
			}
		}

		public Days() {
			time = "2014.03.04";
			price = "43元";
			threemeals = new ArrayList<ThreeMeals>();
			ThreeMeals[] thr = new ThreeMeals[3];
			for (ThreeMeals three : thr) {
				three = new ThreeMeals();
				threemeals.add(three);
			}
		}
	}

	public FoodIndentInfos() {
		days = new ArrayList<Days>();
		Days[] thr = new Days[2];
		for (Days dy : thr) {
			dy = new Days();
			days.add(dy);
		}
	}
}